package com.hll.erp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * (Buy)实体类
 *
 * @author makejava
 * @since 2021-07-04 15:17:56
 */
@Data
@ApiModel(value = "Buy", description = "购买记录")
public class Buy implements Serializable {
  private static final long serialVersionUID = 178419826255924479L;

  @ApiModelProperty(value = "主键ID")
  @TableId(value = "id", type = IdType.AUTO)
  private Integer id;
  /** 产品id */
  @ApiModelProperty(value = "产品ID")
  private String pid;
  /** 进货数量 */
  @ApiModelProperty(value = "购买数量")
  private Integer buyNumber;
  /** 进货价格 */
  @ApiModelProperty(value = "实际花费")
  private Integer buyPrice;
  /** 进货时间 */
  @ApiModelProperty(value = "购买时间")
  private Date buyDate;
  /** 备注 */
  @ApiModelProperty(value = "备注")
  private String comment;
}
